package me.ywd.seckill.dto;

import me.ywd.seckill.entity.Seckilled;

/**
 * Created by Administrator on 2016/11/9 0009.
 */
public class SeckillExecution {
    private long productId;

    private int state;

    private String stateInfo;

    private Seckilled killed;

    public SeckillExecution(long productId, int state, String stateInfo, Seckilled killed) {
        this.productId = productId;
        this.state = state;
        this.stateInfo = stateInfo;
        this.killed = killed;
    }

    public SeckillExecution(long productId, int state, String stateInfo) {
        this.productId = productId;
        this.state = state;
        this.stateInfo = stateInfo;
    }

    public long getProductId() {
        return productId;
    }

    public void setProductId(long productId) {
        this.productId = productId;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public String getStateInfo() {
        return stateInfo;
    }

    public void setStateInfo(String stateInfo) {
        this.stateInfo = stateInfo;
    }

    public Seckilled getKilled() {
        return killed;
    }

    public void setKilled(Seckilled killed) {
        this.killed = killed;
    }

}
